<#assign contextPath=springMacroRequestContext.getContextPath() />
<#import "/public/frame/main.html" as frame />
<@frame.head "南航明珠商城-商品列表">
</@frame.head>
<link rel="stylesheet" href="${contextPath}/resources/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
<nav id="topNav" class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 后台管理中心 <span class="c-gray en">&gt;</span> 系统管理 <span class="c-gray en">&gt;</span> 资源管理 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<table class="table">
	<tr>
		<td class="va-t" style="width: 250px;"><div id="treeDiv" style="width: 250px; overflow: auto;"><ul id="treeDemo" class="ztree"></ul></div></td>
 		<td class="va-t"><iframe ID="testIframe" Name="testIframe" FRAMEBORDER=0 SCROLLING=AUTO width=100%></iframe></td>
	</tr>
</table>
<@frame.end "default">
</@frame.end>
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="${contextPath}/resources/lib/zTree/v3/js/jquery.ztree.core-3.5.min.js"></script>
<script type="text/javascript" src="${contextPath}/resources/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script> 
<script type="text/javascript" src="${contextPath}/resources/js/system/resource.js"></script> 
<script type="text/javascript">
var path = "${contextPath}";
$(document).ready(function(){
	reSizeWin();
	var ztreelist='${ztreelist}';
	var t = $("#treeDemo");
	t = $.fn.zTree.init(t, setting, JSON.parse(ztreelist));
	demoIframe = $("#testIframe");
});
function reSizeWin(){
	$("#treeDiv").height(document.body.clientHeight - $("#topNav").height() - 25);
	$("#testIframe").height(document.body.clientHeight - $("#topNav").height() - 25);
}
window.onresize = reSizeWin;
</script>
</body>
</html>